<@layout.extends name="layout/simple.ftl">
	<@layout.put block="title">登录</@layout.put>

	<@layout.put block="contents">

<div class="ch-container">
    <div class="row">
        
    <div class="row">
        <div class="col-md-12 center login-header">
            <h2>惊蛰后台管理系统</h2>
        </div>
        <!--/span-->
    </div><!--/row-->

    <div class="row">
        <div class="well col-md-5 center login-box">
        	<#if errorMsg != null && errorMsg != ''>
	        	<div class="alert alert-danger">
					${errorMsg}
	            </div>
            <#else>
	            <div class="alert alert-info">
					请输入您的用户名和密码进行登录。
	            </div>
        	</#if>
            
            <form class="form-horizontal" action="${request.contextPath}/login" method="post">
                <fieldset>
                    <div class="input-group input-group-lg">
                        <span class="input-group-addon"><i class="glyphicon glyphicon-user red"></i></span>
                        <input type="text" class="form-control" placeholder="用户名" id=""userName" name="userName" value="${loginReqVo.userName}">
                    </div>
                    <div class="clearfix"></div><br>

                    <div class="input-group input-group-lg">
                        <span class="input-group-addon"><i class="glyphicon glyphicon-lock red"></i></span>
                        <input type="password" class="form-control" placeholder="密码" name="psd">
                    </div>
                    <div class="clearfix"></div>

                    <div class="input-prepend">
                        <label class="remember" for="remember"><input type="checkbox" id="remember" name="rememberMe" <#if loginReqVo.rememberMe != null && loginReqVo.rememberMe>checked</#if>> 下次自动登录</label>
                    </div>
                    <div class="clearfix"></div>

                    <p class="center col-md-5">
                        <button type="submit" class="btn btn-primary">登录</button>
                    </p>
                </fieldset>
            </form>
        </div>
        <!--/span-->
    </div><!--/row-->
</div><!--/fluid-row-->

	</@layout.put>
</@layout.extends>


